use std::env::args;
fn main() {
    let args: Vec<String> = args().collect();
    println!("{}", test(args[1].parse::<u16>().unwrap()).unwrap());
}

fn test(x: u16) -> Result<u16, String> {
    if let 100 = x {
        return Ok(x);
    }
    Err(panic!("Error occured!"))
}
